package sicav.jpa.modelo;

import org.springframework.test.context.junit4.AbstractTransactionalJUnit4SpringContextTests;
import org.springframework.test.context.transaction.BeforeTransaction;

public abstract class PruebaSicav extends AbstractTransactionalJUnit4SpringContextTests {

	@BeforeTransaction
	public void correrScript(){
		
		if (countRowsInTable("Hotel") == 0) {
            executeSqlScript("classpath:sicavDB.sql", false);
        }
		
	}
	
}
